package com.shy.collect.mapper;

import com.shy.collect.entity.PmsMenu;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author sunhuanyu
* @description 针对表【pms_menu(菜单表)】的数据库操作Mapper
* @createDate 2025-01-02 17:06:35
* @Entity com.shy.entity.PmsMenu
*/
public interface PmsMenuMapper extends BaseMapper<PmsMenu> {

    List<PmsMenu> selectSubMenuByUserId(@Param("userId") Long operatorId);

    List<PmsMenu> selectItemMenuByRoleId(@Param("menuId") Long menuId);
}




